/******************************************************************************
 * 
 * Announce: CSharp Kit, used to achieve data visualization.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://github.com/shenyczz/CSharpKit
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/
using System;

namespace CSharpKit.Native.NetCDF
{
    /// <summary>
    /// The netcdf external data types
    /// </summary>
    public enum NcDataType
    {
        NC_NAT = 0,       // Not A Type
        NC_BYTE = 1,       // signed 1 byte integer
        NC_CHAR = 2,       // ISO/ASCII character
        NC_SHORT = 3,       // signed 2 byte integer
        NC_INT = 4,       // signed 4 byte integer
        NC_LONG = 4,        // deprecated required for backward compatibility.
        NC_FLOAT = 5,       // single precision floating point number
        NC_DOUBLE = 6,       // double precision floating point number
        NC_UBYTE = 7,       // unsigned 1 byte int
        NC_USHORT = 8,       // unsigned 2-byte int
        NC_UINT = 9,       // unsigned 4-byte int
        NC_INT64 = 10,      // signed 8-byte int
        NC_UINT64 = 11,      // unsigned 8-byte int
        NC_STRING = 12,      // string

        NC_MAX_ATOMIC_TYPE = NC_STRING,


        NC_VLEN = 13,      // vlen (variable-length) types
        NC_OPAQUE = 14,      // opaque types
        NC_ENUM = 15,      // enum types
        NC_COMPOUND = 16,      // compound types
        NC_FIRSTUSERTYPEID = 32, //Define the first user defined type id

    }


}
